You know people always get cold feet or look to deeply into stuff and causes some problems. Maybe you should ask her again if she is sure about break up.. Make amends if it is really care too..
But nobody can tell you what to do.. However it will be hard to be friends with her if you still love her. Because all you will display around her is heart ache..